#pragma once

#include <QDialog>
#include <QDate>
#include "ui_QProgressSlider.h"

class QProgressSlider : public QDialog
{
	Q_OBJECT

public:
	QProgressSlider(QWidget *parent = Q_NULLPTR);
	~QProgressSlider();
	void SetScope(QDate tBegin, QDate tTo);
	QDate GetTime();
	bool m_isCancel;
	protected slots:
void on_cmdCancel_clicked();
void on_cmdOK_clicked();
void on_horizontalSlider_valueChanged();
private:
	QDate m_tFrom, m_tTo;
	Ui::QProgressSlider ui;
};
